package com.baofu.paycore.manager.model;

import com.baofu.paycore.common.enums.FundTypeEnum;
import com.baofu.paycore.common.exception.ValidateException;
import com.baofu.paycore.manager.model.withdraw.WithdrawBankBO;
import com.baofu.paycore.manager.model.withdraw.WithdrawFundBO;
import com.baofu.paycore.service.facade.enums.PayCoreErrorCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang.StringUtils;
import org.springframework.util.CollectionUtils;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 冻结单
 *
 * User: xin deng  Date: 16/6/3 ProjectName: paycore Version: 1.0
 */
@Slf4j
@Setter
@Getter
@ToString(callSuper = true)
public class FreezeBO extends PayBaseBO {

    /**
     * 账户号
     */
    private String accountNo;

    /**
     * 扩展信息
     */
    private Map<String,String> paymentExt;

    /**
     * 资金渠道
     */
    private String fundingChannel;

    /**
     * 原支付单号
     */
    private String origPayNo;

    /**
     * 已处理金额
     */
    private Long dealAmt;

    /**
     * 资金明细扩展信息
     */
    private String fdDtlExtra;

    /**
     * 资金冻结码
     */
    private String freezeCode;

    /**
     * 冻结单号
     */
    private String freezeNo;

    /**
     * 解冻凭证号
     */
    private String unfreezeReceiptNo;

    /**
     * 状态
     */
    private String status;


    /**
     * 账务凭证号
     */
    private String  transDeceiptNo;

    /**
     * 冻结类型
     */
    private String freezeType;

    /**
     * 交易日期
     */
    private Date transDate;


    /**
     * 模型检查
     */
    @Override
    public void consistencyCheck() {

    }

    /**
     * 状态检查
     */
    @Override
    public void checkStatus() {

    }
}
